package ucap.com.lesanapp.view;

import android.content.Context;
import android.gesture.Gesture;
import android.view.View;
import android.webkit.WebView;
import android.widget.ImageView;

import com.bumptech.glide.Glide;
import com.lidroid.xutils.BitmapUtils;

import butterknife.Bind;
import butterknife.ButterKnife;
import ucap.com.lesanapp.R;
import ucap.com.lesanapp.base.BaseDialog;

/**
 * Created by wekingwang on 16/10/19.
 */

public class ImageDialog extends BaseDialog {


    String uri;
    Context ctx;
    public final BitmapUtils utils;

    public ImageDialog(Context context, String uri) {
        super(context);
        ctx = context;
        this.uri = uri;
        utils = new BitmapUtils(getContext());

    }

    @Override
    public void setView() {
        ButterKnife.bind(this);
    }

    @Override
    public void setListener() {

    }
    @Override
    public void setData() {
////
////        utils.display(ivImage, uri);
//        Glide.with(ctx)
//                .load(uri)
//                .into(ivImage);
    }

    @Override
    public void setClick(View v) {

    }
}
